export default {
  color: ['#006dff', '#2acc85'],
  title: {
    show: true,
    text: '',
    subtext: '',
    x: 'center',
    y: 140
  },
  tooltip: {
    show: true,
    trigger: 'item',
    formatter: '{b}{a}：<br/> {d}%<br/> 人数：{c}  '
  },
  legend: {
    orient: 'horizontal',
    x: 'center',
    y: 'bottom',
    data: ['男性', '女性'],
    icon: 'circle',
    itemGap: 70
  },
  graphic: [
    {
      type: 'text',
      left: 'center',
      top: 'middle',
      z: 100,
      style: {
        text: '暂无数据',
        fill: '#000'
      }
    }
  ],
  series: [
    {
      name: '用户百分占比',
      type: 'pie',
      radius: ['50%', '70%'],
      avoidLabelOverlap: false,
      label: {
        show: false
      },
      labelLine: {
        show: false
      },
      data: []
    }
  ]
}
